package com.zkc.blog.controller;


import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * 测试类
 * @author Administrator
 *
 */
@Controller
public class TestController {

	@ResponseBody
	@RequestMapping("/hello")
	public String hello(){
		return "WelcomeBlog!";
	}
	
	@RequestMapping("/test1")
	public String hellothymeleaf(Model mv){
		
		return "test";
	}
}
